<?php

require 'vbWorldEvent.php';

$events_div_id = $_REQUEST['events_div_id'];
$events = str_replace("'", "\'", vbworldevent_get_list(true));
$events = str_replace("\n", '\n', $events);

die("document.getElementById('$events_div_id').innerHTML = '$events';");
